import request from '@/utils/request'


/**
 * 获取 测温预制点配置
 */
export function getThermometryPresetInfo(query) {
  return request({
    url: '/device/camera/thermometry/presetInfo',
    method: 'get',
    params: query
  })
}

/**
 * 保存 测温预制点配置
 * @param data
 */
export function setThermometryPresetInfo(data) {
  return request({
    url: '/device/camera/thermometry/presetInfo',
    method: 'post',
    data: data
  })
}

/**
 * 获取 测温数据
 */
export function getThermometryData(query) {
  return request({
    url: '/device/camera/thermometry/data',
    method: 'get',
    params: query
  })
}

/**
 * 抓图
 * @param query
 */
export function captureImg(query) {
  return request({
    url: '/device/camera/captureImg',
    method: 'get',
    params: query
  })
}


